/**
 * 弹窗配置
 * 岗位管理 post-manage
 * 新增 post-manage-add
 * 编辑 post-manage-edit
 * 删除 post-manage-delete
 * 批量删除 post-manage-deleteBatch
 */
const popConfig = {
  'post-manage': {
    'post-manage-add': {
      popTitle: '新增岗位',
      popType: 'AddPost',
      visible: true,
      popConfig: {
        overflow: 'auto',
        width: '50%'
      }
    },
    'post-manage-edit': {
      popTitle: '编辑岗位',
      popType: 'AddPost',
      visible: true,
      popConfig: {
        overflow: 'auto',
        width: '50%'
      }
    },
    'post-manage-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的岗位信息？',
      splitProp: 'name',
      paramsProp: { id: 'id' },
      path: 'postManage.deleteById'
    },
    'post-manage-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX岗位信息？',
      splitProp: 'name',
      paramsProp: { ids: 'id' },
      path: 'postManage.batchDelete'
    }
  }
}

export default {}
export { popConfig }
